package com.gs.mybatismptest.config;


import org.noear.solon.annotation.Bean;
import org.noear.solon.annotation.Configuration;
import org.noear.solon.annotation.Inject;
import org.stone.beecp.BeeDataSource;
import javax.sql.DataSource;
@Configuration
public class MybatisMpConfig {

    @Bean(name = "master", typed = true)
    public DataSource dataSource(@Inject("${ds}") BeeDataSource ds) {
        return ds;
    }
}
